<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<form id="roleForm">
	<input type="hidden" name="id" value="${role.id }"/>
	<div class="form-item required">
		<label for="">角色名称</label>
		<input value="${role.name }" data-options="required:true" type="text" class="easyui-textbox" name="name"/>
	</div>
	<div class="form-item required">
		<label for="">资源标识</label>
		<input value="${role.roleKey }" id="roleKey" name="roleKey"  type="text" class="easyui-textbox" data-options="required:true" >
	</div>
	<div class="form-item">
		<label for="" style="position: relative;">备注</label>
		<textarea  value="${role.remark }" class="easyui-textbox" name="remark"  data-options="multiline:true" style="height: 60px;width: 202px;">${role.remark}</textarea>
	</div>
	<div class="form-item">
    	<label for="enable">状态</label>
    	<input id="enable" name="enable" class="easyui-switchbutton" data-options="onText:'启用',offText:'禁用',checked:${empty role || role.enable == true  ?'true' : 'false' }">
  	</div>
</form>
